// $URL: http://mingw-lib.googlecode.com/svn/trunk/local/box/box_dl/xmlutil.h $
// $Rev: 565 $
// $Author: akio.miyoshi $
// $Date:: 2010-11-27 11:16:10 +0000#$

#ifndef XMLUTIL_H
#define XMLUTIL_H

#include <QtCore>
#include <QtXml>

class XmlUtil //: public QObject
{
public:
    static QByteArray formatXml(QByteArray &rawXml);
    static bool setXmlContent(QDomDocument &domDocument, QByteArray &rawXml);
    static void writeXmlContent(QDomDocument &domDocument, QIODevice *device);
    static void backupXmlBody(QByteArray a_bytes, QString a_fileNameBody);
};

#endif // XMLUTIL_H
